import { createRouter, createWebHistory } from "vue-router";
import RegisterPage from "@/components/RegisterPage.vue";
import LoginPage from "@/components/LoginPage.vue";

const routes = [
  {
    path: "/register",
    component:RegisterPage,
  },
  {
    path:"/",
    component:LoginPage,
    
  }
];

const router=createRouter({
    history:createWebHistory(),
    routes
})

export default router;